package com.bebal.cashloan;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@RefreshScope
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling
@EnableCaching
public class CashLoanServiceApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(CashLoanServiceApplication.class).web(true).run(args);
	}

}
